/**
  ******************************************************************************
  * @file    FanParamDefault.h
  * @author  Silan - MC Team
  * @version 1.0.0
  * @date    2017/07/19
  * @brief   FAN Parameter Default Value Definition File.
  * @details None
  * @note    None
  ******************************************************************************
  * @attention
  * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  * AS A RESULT, SILAN MICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  ******************************************************************************
  * Change History
  * -# 2017/07/19 | v1.0.0 | Wangjianlong | Creat file.
  *
  *
  *
  *
  *
  *
  *
  *
  *
  ******************************************************************************
  */

/*******************************************************************************
 * Define to prevent recursive inclusion
 ******************************************************************************/
#ifndef __FAN_DEFAULT_H__
#define __FAN_DEFAULT_H__


/*******************************************************************************
 * Constants and macros
 ******************************************************************************/
#define DEFAULT_FAN_PwmFreq                     18000
#define DEFAULT_FAN_PwmDtUS                     1.5
#define DEFAULT_FAN_PolePairs                   4
#define DEFAULT_FAN_Rs                          43
#define DEFAULT_FAN_Ld                          242
#define DEFAULT_FAN_Lq                          260
#define DEFAULT_FAN_J                           0.3
#define DEFAULT_FAN_Ke                          88
#define DEFAULT_FAN_BaseFreqMec                 20
#define DEFAULT_FAN_BaseVolt                    312
#define DEFAULT_FAN_BaseCurr                    2.08
#define DEFAULT_FAN_OverModeEn                  0
#define DEFAULT_FAN_SingleShuntEn               1
#define DEFAULT_FAN_DampedCoeff4SpdPI           3.2
#define DEFAULT_FAN_BandWidth4SpdPI             0.6
#define DEFAULT_FAN_DampedCoeff4CurrPI          0
#define DEFAULT_FAN_BandWidth4CurrPI            100
#define DEFAULT_FAN_DampedCoeff4PllPI           0.77
#define DEFAULT_FAN_BandWidth4PllPI             7.8
#define DEFAULT_FAN_FilterCoeff4Spd             30
#define DEFAULT_FAN_FreeSpdHighPU               0.5
#define DEFAULT_FAN_FreeSpdMidPU                0.2
#define DEFAULT_FAN_FreeSpdLowPU                0.15
#define DEFAULT_FAN_StartupSpd0PU               0.2
#define DEFAULT_FAN_StartupSpd1PU               0.3
#define DEFAULT_FAN_StartupCurr                 0.8
#define DEFAULT_FAN_StartupRmp0                 1.5
#define DEFAULT_FAN_StartupRmp1                 1.5
#define DEFAULT_FAN_AccRmp                      2
#define DEFAULT_FAN_DecRmp                      2
#define DEFAULT_FAN_MaxSpeedPU                  1.2
#define DEFAULT_FAN_MinSpeedPU                  0.01
#define DEFAULT_FAN_OCVal4Rms                   0.4
#define DEFAULT_FAN_OCVal4Peak                  1.2
#define DEFAULT_FAN_OPVal4Rms                   50
#define DEFAULT_FAN_MaxIsVal                    0.5
#define DEFAULT_FAN_SmpDly                      5.3
#define DEFAULT_FAN_MinPulse                    1
#define DEFAULT_FAN_OpenLoopSpd                 0.2


#endif /* __FAN_DEFAULT_H__ */
/*---------------------------------- End of the file ---------------------------------*/

